package com.secondary.dao.goods;

import java.util.List;

import com.secondary.pojos.Goods;

public interface GoodsDao {
	public List<Goods> findGoodsByParentsId(int id);
	public Goods findGoodById(int id);
	public List<Goods > findGoodsByName(String name);
	public void saveObject(Object o);
	public List<Goods> findGoodsByUserId(int id);
	public void deleteGoods(List<Integer> id);
	public void deletePic(int id);
	public void updateGoodsInfo(Goods good);
}
